/**
 *@author：yanghx
 *@Date: 2020/2/8 22:14
 */
import React from 'react';
import {StyleSheet, View} from 'react-native';
// 现在PropTypes不在react中
import PropTypes from 'prop-types';
import {MapView} from 'react-native-amap3d';

export default class TabBarHomePage extends React.Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  static propTypes = {test: PropTypes.string};

  render() {
    return (
      <View style={{paddingTop: 20, flex: 1}}>
        <MapView style={{flex: 1}}/>
      </View>
    );
  }
}

const styles = StyleSheet.create();
